@import '../../assets/styles/color.scss';

.pa-modal {
  .modal-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(black, .6);
    z-index: 9999;
  }
  .modal-wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: .1rem;
    width: 70vw;
    z-index: 9999;
  }
  .modal-title {
    text-align: center;
    padding: .2rem 0;
    border-bottom: 1px solid $bordercolor;
    color: $titlecolor;
  }
  .modal-content {
    padding: .2rem;
    word-break: break-all;
    color: $contentcolor;
  }
  .modal-footer {
    display: flex;
    border-top: 1px solid $bordercolor;
    div:nth-of-type(2) {
      border-left: 1px solid $bordercolor;
    }
  }
  .modal-cancel, .modal-confirm {
    flex: 1;
    text-align: center;
    height: .9rem;
    line-height: .8rem;
  }
  .modal-confirm {
    color: $maincolor;
  }
  .modal-content-center {
    text-align: center;
  }
  .modal-code {
    display: flex;
    flex-flow: column;
    text-align: center;
    align-items: center;
    img {
      margin-bottom: .2rem;
      width: 2rem;
      height: 1rem;
    }
  }
  .input-number {
    padding: .2rem;
    border-radius: .1rem;
    outline: none;
    border: 1px solid $inputborder;
  }
}